package com.fh.entity.base;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import org.apache.commons.lang3.StringUtils;

public class MemberInfo {
    private String mid;
    private String phone;
    private String sinaweibouid;
    private String qquid;
    private String weixinuid;
    private int coin;
    private int exp;
    private String dc;
    //private String tid;
    private String screenName;
    private String icon;
    private int gender;
    private Date createTime;
    private Date accessTime;
    //private String pushid;
    private String fontsize;
    private long ms;
    private int subs;//是否进行过订阅操作
    private long entid;
    private Set<String> pushTags;
    private int state;
    //private String platform;// 安卓或苹果

    public MemberInfo() {
        this.accessTime = new Date();
        pushTags = new HashSet<String>();

    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getDc() {
        return dc;
    }

    public void setDc(String dc) {
        this.dc = dc;
    }

    

    public String getScreenName() {
        return screenName;
    }

    public void setScreenName(String screenName) {
        this.screenName = screenName;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getAccessTime() {
        return accessTime;
    }

    public void setAccessTime(Date accessTime) {
        this.accessTime = accessTime;
    }

    

    public Set<String> getPushTags() {
        return pushTags;
    }

    public void setPushTags(Set<String> pushTags) {
        this.pushTags = pushTags;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSinaweibouid() {
        return sinaweibouid;
    }

    public void setSinaweibouid(String sinaweibouid) {
        this.sinaweibouid = sinaweibouid;
    }

    public String getQquid() {
        return qquid;
    }

    public void setQquid(String qquid) {
        this.qquid = qquid;
    }

    public String getWeixinuid() {
        return weixinuid;
    }

    public void setWeixinuid(String weixinuid) {
        this.weixinuid = weixinuid;
    }

    public int getCoin() {
        return coin;
    }

    public void setCoin(int coin) {
        this.coin = coin;
    }

    public int getExp() {
        return exp;
    }

    public void setExp(int exp) {
        this.exp = exp;
    }
    
    public String getFontsize() {
        return fontsize;
    }

    public void setFontsize(String fontsize) {
        this.fontsize = fontsize;
    }
    
    public long getMs() {
        return ms;
    }

    public void setMs(long ms) {
        this.ms = ms;
    }
    
    public int getSubs() {
        return subs;
    }

    public void setSubs(int subs) {
        this.subs = subs;
    }

    public boolean addTag(String tag) {
        return pushTags.add(tag);
    }

    public boolean removeTag(String tag) {
        return pushTags.remove(tag);
    }

    public long getEntid() {
        return entid;
    }

    public void setEntid(long entid) {
        this.entid = entid;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
